<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>招商加盟精准CPC数据每日报告</title>
</head>

<style type="text/css">
* {
	font-size: 11px;
}
#table1 {
	border: 1px solid rgb(153, 187, 232);
}
#table1 #table_head {
	background: #B0C9E7; height: 25px; text-align: left; line-height: 25px; text-indent: 20px; font-weight: bolder;
}
#table1 #table_con {
	background: rgb(223, 232, 246);
}
#table1 #table_in {
	background: rgb(208, 208, 208); border: 0px currentColor; margin-top: 5px; margin-bottom: 5px;
}
#table1 #table_in th {
	background: #F0F1F3; height: 22px; border-bottom-color: rgb(208, 208, 208); border-bottom-width: 1px; border-bottom-style: solid; align: center;
}
#table1 #table_in .td1 {
	background: #F0F1F3; height: 22px; text-align: center;border-bottom-color: rgb(208, 208, 208); border-bottom-width: 1px; border-bottom-style: solid; align: center;
}
#table1 #table_in td {
	height: 22px; text-align: center; line-height: 22px; border-bottom-color: rgb(237, 237, 237); border-bottom-width: 1px; border-bottom-style: solid;
}
.tdbg10 {
	background: rgb(238, 239, 241);
}
.tdbg11 {
	background: rgb(255, 255, 255);
}
</style>
<body>
	
#if($allDataList)
    	<table width="96%" align="center" cellpadding="0" cellspacing="0" id="table1">
    		<tr>
    			<td id="table_head">总体汇总数据</td>
    		</tr>
    	   <tr>
            <td id="table_con" valign="top">
                <table width="99%" align="center" cellpadding="0" cellspacing="1" id="table_in">
              <tr>
                <th>指标</th>
                <th>今日($today)</th>
                <th>昨日($yesterday)</th>
                <th>环比</th>
				<th>上周($lastWeek)</th>
				<th>同比</th>
              </tr>
              
            	#foreach($rs in $allDataList)
            		#set($values = $rs.split(';'))	
            		<tr onMouseOver="this.className='tdbg10'" onMouseOut="this.className='tdbg11'" class="tdbg11">
            			<td class="td1">$values[0]</td>
            			<td>$values[1]</td>
            			<td>$values[2]</td>
            			<td>$values[3]%</font></td>
						<td>$values[4]</td>
            			<td>$values[5]%</font></td>
              		</tr>
            	#end
        	     </table>
     	       </td>
     	   </tr>
    	</table>
		</br>
		</br>
		</br>
#end
	

#if($wxAllDataList)
    	<table width="96%" align="center" cellpadding="0" cellspacing="0" id="table1">
    		<tr>
    			<td id="table_head">无线汇总数据</td>
    		</tr>
    	   <tr>
            <td id="table_con" valign="top">
                <table width="99%" align="center" cellpadding="0" cellspacing="1" id="table_in">
              <tr>
                <th>指标</th>
                <th>今日($today)</th>
                <th>昨日($yesterday)</th>
                <th>环比</th>
				<th>上周($lastWeek)</th>
				<th>同比</th>
              </tr>
              
            	#foreach($rs in $wxAllDataList)
            		#set($values = $rs.split(';'))	
            		<tr onMouseOver="this.className='tdbg10'" onMouseOut="this.className='tdbg11'" class="tdbg11">
            			<td class="td1">$values[0]</td>
            			<td>$values[1]</td>
            			<td>$values[2]</td>
            			<td>$values[3]%</font></td>
						<td>$values[4]</td>
            			<td>$values[5]%</font></td>
              		</tr>
            	#end
        	     </table>
     	       </td>
     	   </tr>
    	</table>
		</br>
		</br>
		</br>
#end


#if($pcAllDataList)
    	<table width="96%" align="center" cellpadding="0" cellspacing="0" id="table1">
    		<tr>
    			<td id="table_head">PC汇总数据</td>
    		</tr>
    	   <tr>
            <td id="table_con" valign="top">
                <table width="99%" align="center" cellpadding="0" cellspacing="1" id="table_in">
              <tr>
                <th>指标</th>
                <th>今日($today)</th>
                <th>昨日($yesterday)</th>
                <th>环比</th>
				<th>上周($lastWeek)</th>
				<th>同比</th>
              </tr>
              
            	#foreach($rs in $pcAllDataList)
            		#set($values = $rs.split(';'))	
            		<tr onMouseOver="this.className='tdbg10'" onMouseOut="this.className='tdbg11'" class="tdbg11">
            			<td class="td1">$values[0]</td>
            			<td>$values[1]</td>
            			<td>$values[2]</td>
            			<td>$values[3]%</font></td>
						<td>$values[4]</td>
            			<td>$values[5]%</font></td>
              		</tr>
            	#end
        	     </table>
     	       </td>
     	   </tr>
    	</table>
		</br>
		</br>
		</br>
#end



#if($channelDatas)
    	<table width="96%" align="center" cellpadding="0" cellspacing="0" id="table1">
    		<tr>
    			<td id="table_head">直销&渠道汇总数据</td>
    		</tr>
    	   <tr>
            <td id="table_con" valign="top">
                <table width="99%" align="center" cellpadding="0" cellspacing="1" id="table_in">
              
			  <tr>
				<th></th>
                <th colspan="5">直销</th>
                <th colspan="5">渠道</th>
              </tr>
			  
			  <tr>
                <th>指标</th>
				
                <th>今日($today)</th>
                <th>昨日($yesterday)</th>
                <th>环比</th>
				<th>上周($lastWeek)</th>
				<th>同比</th>
				
				<th>今日($today)</th>
                <th>昨日($yesterday)</th>
                <th>环比</th>
				<th>上周($lastWeek)</th>
				<th>同比</th>
				
              </tr>
              
            	#foreach($rs in $channelDatas)
            		#set($values = $rs.split(';'))	
            		<tr onMouseOver="this.className='tdbg10'" onMouseOut="this.className='tdbg11'" class="tdbg11">
            			<td class="td1">$values[0]</td>
            			<td>$values[1]</td>
            			<td>$values[2]</td>
            			<td>$values[3]%</font></td>
					    <td>$values[4]</td>
            			<td>$values[5]%</font></td>
					
						<td>$values[6]</td>
            			<td>$values[7]</td>
            			<td>$values[8]%</font></td>
					    <td>$values[9]</td>
            			<td>$values[10]%</font></td>
              		</tr>
            	#end
        	     </table>
     	       </td>
     	   </tr>
    	</table>
		</br>
		</br>
		</br>
#end



#if($userDataCity && $userDataCate)
    	<table width="96%" align="center" cellpadding="0" cellspacing="0" id="table1">
    		<tr>
    			<td id="table_head">会员数据($yesterday)</td>
    		</tr>
    	   <tr>
            <td id="table_con" valign="top">
                <table width="99%" align="center" cellpadding="0" cellspacing="1" id="table_in">
              <tr>
                <th colspan="2">分类</th>
                <th>截止$!{yesterday}本月新签会员数</th>
				<th>截止$!{yesterday}本月续费会员数</th>
				<th>截止$!{yesterday}本月续充会员</th>
              </tr>
              
			  
			  
			  #foreach($vo in $userDataCity)
				<tr onMouseOver="this.className='tdbg10'" onMouseOut="this.className='tdbg11'" class="tdbg11">
					#if($velocityCount == 1)
					   <td rowspan="2" class="td1">城市</td>
					#end
					
    				<td class="td1">$!{vo.channel}</td>
    				<td>$tools.qfw($!{vo.newCus})</td>
    				<td>$tools.qfw($!{vo.goonCus})</td>
    				<td>$tools.qfw($!{vo.renewalsBalanceCus})</td>
                </tr>
			  #end
			  
			   
			  #set($a = $userDataCate.size())
			  #foreach($vo in $userDataCate)
				<tr onMouseOver="this.className='tdbg10'" onMouseOut="this.className='tdbg11'" class="tdbg11">
					#if($velocityCount == 1)
					   <td rowspan="$!{a}" class="td1">频道</td>
					#end
					
    				<td class="td1">$!{vo.cate2}</td>
    				<td>$tools.qfw($!{vo.newCus})</td>
    				<td>$tools.qfw($!{vo.goonCus})</td>
    				<td>$tools.qfw($!{vo.renewalsBalanceCus})</td>
                </tr>
			  #end
			
        	     </table>
     	       </td>
     	   </tr>
    	</table>
		</br>
		</br>
		</br>
#end

#if($cityList)
<table width="96%" align="center" cellpadding="0" cellspacing="0" id="table1">
	   <tr>
            <td id="table_head">重点城市数据</td>
       </tr>
	   <tr>
        <td id="table_con" valign="top">
            <table width="99%" align="center" cellpadding="0" cellspacing="1" id="table_in">
				<tr>
					<th rowspan="2">日期</th>
					#foreach($city in $citys)
						<th colspan="6">$city</th>
					#end
                    
				</tr>
				<tr>
					#foreach($city in $citys)
                        <th>消费</th>
                        <th>客户</th>
    					<th>PV</th>
                        <th>点击</th>
    					<th>CTR</th>
						<th>CPC</th>
					#end
				</tr>
				#foreach($city in $cityList)
                <tr onMouseOver="this.className='tdbg10'" onMouseOut="this.className='tdbg11'" class="tdbg11">
				   <td class="td1" >$!{city.statDate}</td>
				   #foreach($value in $city.show)
                   <td align="center" >$!{value}</td>
				   #end
                </tr>
				#end
 			</table>
        </td>
       </tr>
</table>
</br>
</br>
</br>
#end

#if($cityQDList)
<table width="96%" align="center" cellpadding="0" cellspacing="0" id="table1">
	   <tr>
            <td id="table_head">渠道重点城市数据</td>
       </tr>
	   <tr>
        <td id="table_con" valign="top">
            <table width="99%" align="center" cellpadding="0" cellspacing="1" id="table_in">
				<tr>
					<th rowspan="2">日期</th>
					#foreach($city in $cityQuDao)
						<th colspan="6">$city</th>
					#end
                    
				</tr>
				<tr>
					#foreach($city in $cityQuDao)
                        <th>消费</th>
                        <th>客户</th>
    					<th>PV</th>
                        <th>点击</th>
    					<th>CTR</th>
						<th>CPC</th>
					#end
				</tr>
				#foreach($city in $cityQDList)
                <tr onMouseOver="this.className='tdbg10'" onMouseOut="this.className='tdbg11'" class="tdbg11">
				   <td class="td1" >$!{city.statDate}</td>
				   #foreach($value in $city.show)
                   <td align="center" >$!{value}</td>
				   #end
                </tr>
				#end
 			</table>
        </td>
       </tr>
</table>
</br>
</br>
</br>
#end


#if($cateList)
<table width="96%" align="center" cellpadding="0" cellspacing="0" id="table1">
	   <tr>
            <td id="table_head">重点品类数据</td>
       </tr>
	   <tr>
        <td id="table_con" valign="top">
            <table width="99%" align="center" cellpadding="0" cellspacing="1" id="table_in">
				<tr>
					<th rowspan="2">日期</th>
					#foreach($cate in $cates)
						<th colspan="6">$cate</th>
					#end
                    
				</tr>
				<tr>
					#foreach($cate in $cates)
                        <th>消费</th>
                        <th>客户</th>
    					<th>PV</th>
                        <th>点击</th>
    					<th>CTR</th>
						<th>CPC</th>
					#end
				</tr>
				#foreach($cate in $cateList)
                <tr onMouseOver="this.className='tdbg10'" onMouseOut="this.className='tdbg11'" class="tdbg11">
				   <td class="td1" >$!{cate.statDate}</td>
				   #foreach($value in $cate.show)
                   <td align="center" >$!{value}</td>
				   #end
                </tr>
				#end
 			</table>
        </td>
       </tr>
</table>
</br>
</br>
</br>
#end




</body>
</html>
